package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_reconcile_model;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_reconcile_modelSearchContext;

/**
 * 实体[Account_reconcile_model] 服务对象接口
 */

public interface IAccount_reconcile_modelService{
     Account_reconcile_model get(Integer id) ;
     Account_reconcile_model get(Account_reconcile_model account_reconcile_model) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Account_reconcile_model> account_reconcile_models, int batchSize) ;
     void updateBatch(List<Account_reconcile_model> account_reconcile_models, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Account_reconcile_model account_reconcile_model) ;
     boolean update(Account_reconcile_model account_reconcile_model) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_reconcile_model> searchDefault(Account_reconcile_modelSearchContext context) ;

    /**
     * 根据科目查询
     */
     Page<Account_reconcile_model> selectByOdoo_account(Integer id) ;

    /**
     * 根据科目查询
     */
     Page<Account_reconcile_model> selectByOdoo_second_account(Integer id) ;

    /**
     * 根据分析账户查询
     */
     Page<Account_reconcile_model> selectByOdoo_analytic_account(Integer id) ;

    /**
     * 根据分析账户查询
     */
     Page<Account_reconcile_model> selectByOdoo_second_analytic_account(Integer id) ;

    /**
     * 根据日记账查询
     */
     Page<Account_reconcile_model> selectByOdoo_journal(Integer id) ;

    /**
     * 根据日记账查询
     */
     Page<Account_reconcile_model> selectByOdoo_second_journal(Integer id) ;

    /**
     * 根据税率查询
     */
     Page<Account_reconcile_model> selectByOdoo_second_tax(Integer id) ;

    /**
     * 根据税率查询
     */
     Page<Account_reconcile_model> selectByOdoo_tax(Integer id) ;

    /**
     * 根据公司查询
     */
     Page<Account_reconcile_model> selectByOdoo_company(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_reconcile_model> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_reconcile_model> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_reconcile_model convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_reconcile_model model ,Account_reconcile_model domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_reconcile_model convert2Model(Account_reconcile_model domain , cn.ibizlab.odoo.core.client.model.Iaccount_reconcile_model model);

}
